package com.liming.model;

public class Banner {
	private int bannerid;
	private int goodid;
	private String bannersrc;
	private String bannertitle;
	private String bannersubtitle;
	private String bannerdesc;
	private int bannerenable;
	public int getBannerenable() {
		return bannerenable;
	}
	public void setBannerenable(int bannerenable) {
		this.bannerenable = bannerenable;
	}
	public int getBannerid() {
		return bannerid;
	}
	public void setBannerid(int bannerid) {
		this.bannerid = bannerid;
	}
	public int getGoodid() {
		return goodid;
	}
	public void setGoodid(int goodid) {
		this.goodid = goodid;
	}
	public String getBannersrc() {
		return bannersrc;
	}
	public void setBannersrc(String bannersrc) {
		this.bannersrc = bannersrc;
	}
	public String getBannertitle() {
		return bannertitle;
	}
	public void setBannertitle(String bannertitle) {
		this.bannertitle = bannertitle;
	}
	public String getBannersubtitle() {
		return bannersubtitle;
	}
	public void setBannersubtitle(String bannersubtitle) {
		this.bannersubtitle = bannersubtitle;
	}
	public String getBannerdesc() {
		return bannerdesc;
	}
	public void setBannerdesc(String bannerdesc) {
		this.bannerdesc = bannerdesc;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return String.format("轮播图id：%d，轮播图图片地址：%s", bannerid,bannersrc);
	}
}
